not

open fun <T> not(target: Predicate<in T>): Predicate<T>(source)

Returns a predicate that is the negation of the supplied predicate. This is accomplished by returning result of the calling target.negate().

Return

a predicate that negates the results of the supplied predicate

Parameters

<T>

the type of arguments to the specified predicate

target

predicate to negate

Throws

if target is null